package com.durbao.utils.poi;

import com.sun.istack.internal.NotNull;
import lombok.Data;

/**
 * excel表头
 */
@Data
public class ExcelHeader {

    public ExcelHeader(){}

    public ExcelHeader(String[] header, String cellStyleKey){
        this.header = header;
        this.cellStyleKey = cellStyleKey;
    }

    public ExcelHeader(String[] header, String cellStyleKey, short height){
        this.header = header;
        this.cellStyleKey = cellStyleKey;
        this.height = height;
    }

    /**
     * 行
     */
    @NotNull
    private String[] header;
    /**
     * 列样式
     */
    private String cellStyleKey;

    /**
     * 行高
     */
    @NotNull
    private short height = (short)(12*20);
}
